import { service } from './config'

// 获取标签
export const API_GetTagOptions = form => {
    return service({
        url: `/kind/select`,
        method: 'get',
        params: form
    });
}

// 添加标签
export const API_AddTag = form => {
    return service({
        url: `/kind/add`,
        method: 'get',
        params: form
    });
}

// 删除标签
export const API_DeleteTag = form => {
    return service({
        url: `/kind/delete`,
        method: 'get',
        params: form
    });
}

// 添加记账
export const API_AddMoney = form => {
    return service({
        url: `/hand_acount/add`,
        method: 'get',
        params: form
    });
}

// 查询记账
export const API_GetMoney = form => {
    return service({
        url: `/hand_acount/get_detail`,
        method: 'get',
        params: form
    });
}